/**
 * 文章列表（首页、菜单页）
 */
.active-header {
  margin: 10px auto 40px auto!important;
  font-family: "Helvetica", "Tahoma", "Arial", "PingFang SC",
    "Microsoft JhengHei", "SimSun", "sans-serif";
  h1.active-title {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.8;
  }
  .active-description {
    font-size: 15px;
    display: inline-block;
    border-top: 1px solid #999;
  }
}
#Posts {
  article {
    position: relative;
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    &:first-child {
      padding: 0 0 50px;
    }
    section.post-cont {
      width: 75%;
      h2.title {
        font-size: 24px;
        margin-bottom: 15px;
        font-weight: 700;
        line-height: 1.5;
      }
      .thumbnail {
        margin: 10px 0;
        overflow: hidden;
        max-height: 280px;
        img {
          display: block;
          width: 100%;
          height: auto;
          -webkit-transition: opacity 0.3s ease-in-out;
          -moz-transition: opacity 0.3s ease-in-out;
          -o-transition: opacity 0.3s ease-in-out;
          transition: opacity 0.3s ease-in-out;
          &:hover {
            opacity: 0.7;
          }
        }
      }
      .loop-content {
        // font-family: var(--my-font-family-3);
        margin-bottom: 15px;
        p {
          color: var(--my-preset-color-font-1);
          word-wrap: break-word;
          line-height: 2;
          letter-spacing: 1px;
          font-size: 16px;
          min-height: 100px;
        }
      }
      .entry-tags {
        color: var(--my-preset-color-font-gray-1);
        a {
          margin-right: 5px;
        }
      }
    }
    section.post-meta {
      width: 20%;
      margin-top: 60px;
      & > .li {
        height: 44px;
        line-height: 44px;
        border-top: 1px solid #ccc;
        font-size: 14px;
        &:last-child {
          border-bottom: 1px solid #ccc;
        }
      }
    }
    &::after {
      content: "";
      background: #434a54;
      width: 80px;
      height: 2px;
      position: absolute;
      left: 0;
      bottom: -1px;
    }
    &:last-child::after {
      display: none;
    }
  }
}
#VLoadMore {
  text-align: center;
  margin: 80px auto 100px auto;
  button {
    padding: 10px 40px;
    border: 1px var(--my-preset-color-border-1) solid;
    border-radius: 40px;
    color: var(--my-preset-color-button-font-1);
    background: var(--my-preset-color-button-bg-1);
    outline: unset;
    transition: all 0.3s;
    cursor: pointer;
    &:hover {
      border: 1px var(--my-preset-color-active) solid;
      background: var(--my-preset-color-button-bg-active);
      color: #ffffff;
    }
  }
}

// 适配
@media (max-width: 639px){
  #Posts article{
    flex-direction: column;
    padding: 20px 0;
    &:first-child {
      padding: 0 0 20px;
    }
    &::after{
      display: none;
    }
    section.post-cont, section.post-meta{
      width: 100%;
    }
    section.post-cont{
      h2.title{
        font-size: 16px;
      }
      .loop-content p {
        display: -webkit-box;
        overflow: hidden;
        color: var(--my-preset-color-font-gray-1);
        text-overflow: ellipsis;
        font-size: 13px;
        line-height: 1.8;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        min-height: unset;
      }
      .entry-tags a {
        font-size: 13px;
      }
    }
    section.post-meta{
      margin-top: 15px;
      display: flex;
      &>.li{
        border-top: unset!important;    
        border-bottom: unset!important; 
        height: unset;
        line-height: 1;
        color: var(--my-preset-color-font-gray-2);
        font-size: 13px;
        &+.li{
          margin-left: 15px;
        }
      }
    }
  }
  #VLoadMore{
    margin: 50px auto 80px auto;
    button {
      padding: 8px 25px;
    }
  } 
}